- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2.7k
feat: adds front and back methods to Value type #1458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: adds front and back methods to Value type #1458
Conversation
| 
 
 | 
| It should actually still be valid if  | 
| @BillyDonahue Does the previous comment answer your question? | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one more small request. otherwise good to go, I think.
d7e4986    to
    e9a5ddb      
    Compare
  
    | Thank you! LGTM | 
| @BillyDonahue What's the status on this? Is it still something you'd be interested in getting in? | 
| I guess it's safe to say Travis CI isn't going to finish :) | 
This PR adds the
frontandbackmethods to theJson::Valueclass.These methods can be used to access the first and last elements of a
Json::Valuecontainer.For a
Json::Value vthey are equal to*v.begin()and*(--v.end()).